package dfbz.homework3;

import dfbz.Rannable接口.RannableImpl;

public class Test {
    public static void main(String[] args) {
        MyThread myThread = new MyThread();
        myThread.start();
        RannableImpl rannable = new RannableImpl();
        Thread thread = new Thread(rannable,"mike");
        thread.start();
        System.out.println(Thread.currentThread().getName());//主线程
    }
}
